/*
 * Endless Code License
 * Copyright (C) 2009 Jingul, Kim
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

#ifndef ECFONT_H_
#define ECFONT_H_

#include <jni.h>

#include <ft2build.h>
#include FT_FREETYPE_H

#ifdef __cplusplus
extern "C" {
#endif

JNIEXPORT jboolean JNICALL Java_ec_gfx_font_FreeType_start(JNIEnv *, jobject);

JNIEXPORT jboolean JNICALL Java_ec_gfx_font_FreeType_done(JNIEnv *, jobject);

JNIEXPORT jint JNICALL Java_ec_gfx_font_Font_create(JNIEnv *, jobject, jstring);

JNIEXPORT void JNICALL Java_ec_gfx_font_Font_dispose(JNIEnv *, jobject, jint);

JNIEXPORT void JNICALL Java_ec_gfx_font_Font_setSize(JNIEnv *, jobject, jint, jint);

JNIEXPORT void JNICALL Java_ec_gfx_font_Font_bolden(JNIEnv *, jobject, jint);

#ifdef __cplusplus
}
#endif

#endif /* ECFONT_H_ */
